import ReactDOM from 'react-dom/client'
import App from './App'
import './assets/styles/index.scss'
import { Provider } from 'react-redux'
import store from './store'
import dayjs from 'dayjs'
import relativeTime from 'dayjs/plugin/relativeTime'
import 'dayjs/locale/zh-cn'
dayjs.locale('zh-cn')
dayjs.extend(relativeTime)
const root = ReactDOM.createRoot(document.getElementById('root') as HTMLElement)
root.render(
  <Provider store={store}>
    <App></App>
  </Provider>
)
